#!/usr/bin/python
# -*- coding: UTF-8 -*-

# 暂停一秒输出
import time

out = {1: 'a', 2: 'b'}
for (key,val) in dict.items(out):
    print (key, val)
    time.sleep(1)